package edu.gatech.cs2340.bytebankers.view;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import javax.swing.JPanel;

import edu.gatech.cs2340.bytebankers.presenter.IStartupPresenter;

public class TestStartupView implements IStartupView {

	private IStartupPresenter presenter;
	public TestStartupView(IStartupPresenter presenter){
		this.presenter = presenter;
	}
	
	@Override
	public void onSaveForm() {
		presenter.onSaveForm();
	}

	@Override
	public void setProfessions(Map<String, String> professions) {
		onSaveForm();
	}

	@Override
	public String getLeaderName() {
		return "Test Leader";
	}

	@Override
	public String getProfession() {
		return "edu.gatech.cs2340.bytebankers.model.profession.Banker";
	}

	@Override
	public List<String> getPlayerNames() {
		ArrayList<String> players = new ArrayList<String>();
		players.add("Test Player 1");
		players.add("Test Player 2");
		players.add("Test Player 3");
		players.add("Test Player 4");
		return players;
	}

	@Override
	public JPanel getMainPanel() {
		return null;
	}

	@Override
	public int getRationRate() {
		return 2;
	}

	@Override
	public int getPace() {
		return 10;
	}

	@Override
	public void onLoadGameClick() {
		// TODO Auto-generated method stub
		
	}

}
